package com.lyc.common.repository;

import com.lyc.common.model.Category;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by 廖师兄
 * 2017-05-25 23:40
 */
public interface CategoryRepository extends JpaRepository<Category, Integer> {

    List<Category> findByCategoryIdIn(List<Integer> integerList);
}
